import request from '@/request'
type loginType = {
  token: string
}
export const get_user_list = (parms?:any) => {
  return request.post<any>('/user/wechat-user-list',parms)
}
export const get_user_detail = () => {
    return request.post<any>('/maintain/task-tag-list')
}
export const get_tab_data = () => {
    return request.post<any>('/maintain/task-list')
}
// 权限用户管理

export const get_user_data = (parms?:any) => {
  return request.post<any>('/user/user-data',parms)
}
// 增加员工
export const add_user = (parms?:any) => {
  return request.post<any>('/user/user-update',parms)
}
// 删除员工
export const delete_user_list = (parms?:any) => {
  return request.post<any>('/user/user-delete',parms)
}
// 地区
export const get_region_data = (parms?:any) => {
  return request.post<any>('/user/city-china',parms)
}
// 完善信息
export const refine_user_data = (parms?:any) => {
  return request.post<any>('/user/add-user-msg',parms)
}

// 通知
export const get_notice = (parms?:any) => {
  return request.post<any>('/maintain/message-list',parms)
}
// 轮询数
export const get_notice_count = (parms?:any) => {
  return request.post<any>('/maintain/message-count',parms)
}